Skip to main content

Build a CURD API using SFDC Contact table from Start to Finish

Develop a SFDC Contact API on quickintegrate platform which will support Create/Retrieve/Update/Delete operation on Contact object in Salesforce.

Methods:

POST

PATCH

GET

DELETE

End Point:

POST http://run.quickintegrate.io/dev/sfdc_contact_api/contact

PATCH : http://run.quickintegrate.io/dev/sfdc_contact_details/contact/{Id}

GET (All Contacts) : http://run.quickintegrate.io/dev/sfdc_contact_api/contacts

GET (Specific Contact): http://run.quickintegrate.io/dev/sfdc_contact_api/contact/{Id}

DELETE : http://run.quickintegrate.io/dev/sfdc_contact_api/contact/{Id}

;

SFDC CONTACT API Flow

;

POST:

;

Description:

POST endpoint will be used to create records in Contact object salesforce

;

FieldsDescriptionExample
Http URLURL by which the API will be calledsfdcconnect
MethodFormats like GET, POST, DELETE, etcPOST
Base PathResource Pathservices/data/v55.0/sobjects/Contact
SecurityTo be Defined in the propertioes like Basic Authentication, OAuth token, Authorization Code, etc sfdcoauth
Input/BodyInput $REQUEST_PAYLOAD
Output VariableStores output of connections operationsRest_output

End-Points:

https://login.salesforce.com/services/oauth2/token https://atdevcom-dev-ed.my.salesforce.com/services/data/v55.0/sobjects/Contact

DELETE:

;

Description:

DELETE endpoint will be used to delete records from Contact object salesforce.

;

FieldsDescriptionExample
Http URLURL by which the API will be calledsfdcconnect
MethodFormats like GET, POST, DELETE, etcDELETE
Base PathResource Pathservices/data/v55.0/sobjects/Contact/:Id
SecurityTo be Defined in the propertioes like Basic Authentication, OAuth token, Authorization Code, etc sfdcoauth
Output VariableStores output of connections operationsRest_output

End-Points:

https://atdevcom-dev-ed.my.salesforce.com/services/data/v55.0/sobjects/Contact/{Id}

GET:

;

Description:

GET endpoint will be used to retrieve records from Contact object salesforce.

;

GET all contact

FieldsDescriptionExample
Http URLURL by which the API will be calledsfdcconnect
MethodFormats like GET, POST, DELETE, etcGET
Base PathResource Pathservices/data/v55.0/sobjects/Contact
SecurityTo be Defined in the propertioes like Basic Authentication, OAuth token, Authorization Code, etc sfdcoauth
Output VariableStores output of connections operationsRest_output

GET Specific contact

;

;

FieldsDescriptionExample
Http URLURL by which the API will be called:Idsfdcconnect
MethodFormats like GET, POST, DELETE, etcGET
Base PathResource Pathservices/data/v55.0/sobjects/Contact/:Id
SecurityTo be Defined in the propertioes like Basic Authentication, OAuth token, Authorization Code, etc sfdcoauth
Output VariableStores output of connections operationsRest_output

End-Points:

GET All Contacts: https://atdevcom-dev-ed.my.salesforce.com/services/data/v55.0/sobjects/Contact

GET Specific Contact: https://atdevcom-dev-ed.my.salesforce.com/services/data/v55.0/sobjects/Contact/{Id}

PATCH:

;

Description:

PATCH endpoint will be used to update records in Contact object salesforce.

;

FieldsDescriptionExample
Http URLURL by which the API will be calledsfdcconnect
MethodFormats like GET, POST, DELETE, etcPATCH
Base PathResource Pathservices/data/v55.0/sobjects/Contact/:Id
SecurityTo be Defined in the propertioes like Basic Authentication, OAuth token, Authorization Code, etc sfdcoauth
Output VariableStores output of connections operationsRest_output

End-Points:

https://atdevcom-dev-ed.my.salesforce.com/services/data/v55.0/sobjects/Contact/0035i000009obUrAAI

Step to Test the API Deployed on QuickIntegration.

  1. Save the application.
  2. Go to EXECUTE >> BUILD to Build the application.
  3. Deploy the application after build. Select the Application Name From Drop down, and pass the security key in Properties. Click on deploy application.
  4. Go to application and Bring UP the application by clicking on project.
  5. Provide the security key and start the API.
  6. Once you Successfully started your API, you will find Development URL in Details Coloumn
  7. Using the QuickIntegrate deployed URL You can Test your API using Postman Collection